package com.gitee.poi.plugin.annotations.core;

import org.apache.poi.ss.usermodel.BuiltinFormats;
import java.lang.annotation.*;

/**
 * 数据格式
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD,ElementType.TYPE})
@Documented
public @interface DataFormat {

    /**
     * @see {@link org.apache.poi.xssf.usermodel.XSSFDataFormat}
     * @see {@link org.apache.poi.hssf.usermodel.HSSFDataFormat}
     * @see {@link BuiltinFormats#_formats} 该列保留两位小数形如 ： 0.00
     * @return
     */
    String value();
}
